package controller.form;

import org.hibernate.validator.constraints.Email;

import javax.validation.constraints.Pattern;

public class Form {

	// @org.hibernate.validator.constraints.NotEmpty
	// @Pattern(regexp = "[a-zA-Z0-9 ]*")
	// String name;
	private String loginName;

	private String name;

	private String password;

	private String salt;

	private String roles;

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getRoles() {
		return roles;
	}

	public void setRoles(String roles) {
		this.roles = roles;
	}

	public Form() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
